// samsting : this file is auto create.

#include "Rds_Region/2014-08-15/DescribeOptimizeAdviceOnStorageResponse.h"

namespace aliyun { namespace Rds_Region {

DescribeOptimizeAdviceOnStorageResponse::DescribeOptimizeAdviceOnStorageResponse() {
}

const string& DescribeOptimizeAdviceOnStorageResponse::AdviceOnStorage::GetDBName(void) const {
  return DBName_;
}

const string& DescribeOptimizeAdviceOnStorageResponse::AdviceOnStorage::GetTableName(void) const {
  return TableName_;
}

const string& DescribeOptimizeAdviceOnStorageResponse::AdviceOnStorage::GetCurrentEngine(void) const {
  return CurrentEngine_;
}

const string& DescribeOptimizeAdviceOnStorageResponse::AdviceOnStorage::GetAdviseEngine(void) const {
  return AdviseEngine_;
}

const std::vector<DescribeOptimizeAdviceOnStorageResponse::AdviceOnStorage>& DescribeOptimizeAdviceOnStorageResponse::GetItems(void) const {
  return Items_;
}

const string& DescribeOptimizeAdviceOnStorageResponse::GetDBInstanceId(void) const {
  return DBInstanceId_;
}

int DescribeOptimizeAdviceOnStorageResponse::GetTotalRecordsCount(void) const {
  return TotalRecordsCount_;
}

int DescribeOptimizeAdviceOnStorageResponse::GetPageNumber(void) const {
  return PageNumber_;
}

int DescribeOptimizeAdviceOnStorageResponse::GetPageRecordCount(void) const {
  return PageRecordCount_;
}

const char* DescribeOptimizeAdviceOnStorageResponse::BaseKey(void) {
  return "DescribeOptimizeAdviceOnStorageResponse";
}

void DescribeOptimizeAdviceOnStorageResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Items__length = 0;
  UnmarshallerInt(Items__length, response_map, "DescribeOptimizeAdviceOnStorageResponse.Items.Length");
  if(Items__length >= 0) {
    Items_.resize(Items__length);
    for(int i1 = 0; i1 < Items__length; i1++) {
      UnmarshallerString(Items_[i1].DBName_, response_map, "DescribeOptimizeAdviceOnStorageResponse.Items["+string_ValueOfInt(i1)+"].DBName");
      UnmarshallerString(Items_[i1].TableName_, response_map, "DescribeOptimizeAdviceOnStorageResponse.Items["+string_ValueOfInt(i1)+"].TableName");
      UnmarshallerString(Items_[i1].CurrentEngine_, response_map, "DescribeOptimizeAdviceOnStorageResponse.Items["+string_ValueOfInt(i1)+"].CurrentEngine");
      UnmarshallerString(Items_[i1].AdviseEngine_, response_map, "DescribeOptimizeAdviceOnStorageResponse.Items["+string_ValueOfInt(i1)+"].AdviseEngine");
    } // for(int i1 = 0; i1 < Items__length; i1++) {
  } // if(Items__length >= 0) {

  UnmarshallerString(DBInstanceId_, response_map, "DescribeOptimizeAdviceOnStorageResponse.DBInstanceId");
  UnmarshallerInt(TotalRecordsCount_, response_map, "DescribeOptimizeAdviceOnStorageResponse.TotalRecordsCount");
  UnmarshallerInt(PageNumber_, response_map, "DescribeOptimizeAdviceOnStorageResponse.PageNumber");
  UnmarshallerInt(PageRecordCount_, response_map, "DescribeOptimizeAdviceOnStorageResponse.PageRecordCount");
}


} } // namespace aliyun { namespace Rds_Region {

// end of file 
